@echo off
set REPOSITORY_PATH=D:\apache-maven-3.3.9\repository
rem 正在搜索...
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"') do (
  del /s /q %%i
)
rem 搜索完毕
pause